<script>
	export default {
		onLaunch: function() {
			//console.log('App Launch') 
		},
		onShow: function() {
			//console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		onLoad(e) {
			console.log('来自app的监听'+JSON.stringify(e))
			if(e.userid){
				this.globalData.userid = e.userid
				this.globalData.sigin = 'appvue'
			}
		},
		globalData:{
			head:uni.getSystemInfoSync().statusBarHeight,
			bottom:uni.getSystemInfoSync().safeAreaInsets.bottom,
			userid:-1,
			sigin:'',
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import '@/common/css.css';
</style>
